package guo.redisson.entity;

import java.io.Serializable;

public class PersonJson implements Serializable {
    private String name;
    private int age;

    private transient String notSer;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getNotSer() {
        return notSer;
    }

    public void setNotSer(String notSer) {
        this.notSer = notSer;
    }

    @Override
    public String toString() {
        return "PersonJson{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", notSer='" + notSer + '\'' +
                '}';
    }
}
